package com.example.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

import zipkin.server.EnableZipkinServer;

/**
 * 分布式服务跟踪
 *
 * @author tongyufu
 */
@EnableHystrixDashboard
@EnableZipkinServer
@SpringBootApplication
public class ZipkinCloudApplication {

    /**
     * 分布式服务跟踪
     *
     * @param args 启动参数
     */
    public static void main(String[] args) {
        SpringApplication.run(ZipkinCloudApplication.class, args);
    }
}
